Mollie\WooCommerce\Gateway\MolliePaymentGateway C

Total Complexity 118
Dependencies 18
Dependents 9
Total lines 1,101
Lines of code 651
Logical lines of code 273
Comment lines 253
Methods 41
Properties 14

Methods 41

Method Rating Maintainability Complexity Lines of code
onOrderReceivedTitle()
B
37 15 76
getReturnRedirectUrlForOrder()
A
40 10 69
displayInstructions()
A
48 7 35
__construct()
A
40 5 64
process_refund()
A
45 6 48
isValidForUse()
S
46 6 44
get_recurring_total()
S
57 5 18
is_available()
S
52 4 27
onOrderReceivedText()
S
59 4 16
gatewayHasFields()
S
63 4 11
thankyou_page()
S
61 3 14
isAvailableMethodInCheckout()
S
60 3 14
isAllowedBillingCountry()
S
61 3 13
getSupportedCurrencies()
S
49 1 36
checkEnabledNorDirectDebit()
S
66 3 9
getBillingCountry()
S
63 3 10
get_transaction_url()
S
66 3 7
activePaymentObject()
S
61 2 13
getCurrencyFromOrder()
S
63 2 11
noOrderPaymentFailure()
S
59 1 16
initDescription()
S
75 2 4
getSelectedIssuer()
S
71 2 5
initIcon()
S
66 2 9
get_icon()
S
74 2 4
cartAmountAvailable()
S
79 2 3
process_payment()
S
64 2 10
validate_multi_select_countries_field()
S
71 2 6
init_form_fields()
S
80 1 3
getMollieMethod()
S
75 1 5
handlePaidOrderWebhook()
S
63 1 10
gatewayId()
S
73 1 5
payment_fields()
S
77 1 4
pluginId()
S
82 1 3
dataService()
S
82 1 3
paymentMethod()
S
82 1 3
init_settings()
S
81 1 3
paymentService()
S
82 1 3
admin_options()
S
81 1 3
process_admin_options()
S
77 1 4
isCurrencySupported()
S
70 1 7
paymentObject()
S
82 1 3